package co.edu.udea.iw.prestamodispositivos.excepciones;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class IWBLException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7274635820268034705L;
	private static final Log log = LogFactory.getLog(IWDAOException.class);
	
	public IWBLException() {
		log.error("Ha ocurrido un error en el sistema");
	}

	public IWBLException(String arg0) {
		super(arg0);
		log.error(arg0);
	}

	public IWBLException(Throwable arg0) {
		super(arg0);
		log.error(arg0);
	}

	public IWBLException(String arg0, Throwable arg1) {
		super(arg0, arg1);
		log.error(arg0, arg1);
	}



}
